
<!DOCTYPE html>
<html>
    <head>
        <title>avalon.css</title>

        <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script src="avalon.js" type="text/javascript"></script>
        <script>
            avalon.bindingHandlers.valid = function(data) {
                avalon.log("自定义绑定")
                avalon.log(data.value)
            }
        </script>

        <script>
            avalon.define("test", function(vm) {
                vm.aaa = "xxx"
            })
        </script>
    </head>
    <body>
        <div id="aaa" ms-controller="test">
            <div id="bbb" ms-valid="aaa">
                自定义绑定
            </div>
        </div>
    </body>
</html>
